package com.yangmf.auto_message_handle.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;


import java.io.Serializable;
import java.time.LocalDateTime;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Mesg implements Serializable {
    private Long id;


    private String content;

    private Long eventId;


    private LocalDateTime createTime;

    private Integer isDelete;

    /**
     *  public static final Integer FILE_MESSAGE = 1 ;
     *
     *     // 2. 图片消息标识
     *     public static final Integer IMAGE_MESSAGE = 2;
     *
     *     // 3. 文本消息无特定前缀
     *     public static final Integer TEXT_MESSAGE = 3;
     *


     *
     *     // 5. 腾讯文档消息标识
     *     public static final Integer TENCENT_DOC_MESSAGE = 5;
     */
    private Integer messageType;


    private Integer eventType;
}
